# -*- coding:utf-8 -*-
"""
浏览器封装
"""
from selenium import webdriver
class Browser(object):

    def chrome(self):
        """
        谷歌浏览器
        :return:
        """
        chrome = webdriver.Chrome()
        return chrome

    def firefox(self):
        """
        火狐浏览器
        :return:
        """
        firefox = webdriver.Firefox()
        return firefox

    def phantomjs(self):
        """
        无头浏览器PhantomJS
        :return:
        """
        pass

